package com.easyink.framework.config;

import com.github.pagehelper.PageInterceptor;
import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * Mybatis支持*匹配扫描包
 *
 * @author admin
 */
@Configuration
public class MyBatisPlusConfig {


    @Bean
    public Interceptor[] plugins() {
        return new Interceptor[]{new PageInterceptor()};

    }
}